package com.clwl.supervise.superviseapp.entity.risk;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 风险等级-动态调整模板
    */
@Data
@TableName(value = "JG_RISK_DYNAMIC_TEMPLATE")
//@KeySequence(value = "JG_RISK_DYNAMIC_TEMPLATE_SQE")
public class JgRiskDynamicTemplate implements Serializable {
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 升降级类型:1-调高等级，2-调低等级，3-直接上调为D等级
     */
    @TableField(value = "`TYPE`")
    private String type;

    /**
     * 升降级原因
     */
    @TableField(value = "REASON")
    private String reason;

    /**
     * 升降级类型序号
     */
    @TableField(value = "TYPE_SORT")
    private Long typeSort;

    /**
     * 升降级原因序号
     */
    @TableField(value = "REASON_SORT")
    private Long reasonSort;

    /**
     * 分数
     */
    @TableField(value = "SCORE")
    private Double score;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 是否删除：0-否，1-是
     */
    @TableField(value = "DELETE_FLAG")
    private Integer deleteFlag;

    /**
     * 环节code
     */
    @TableField(value = "SUP_PROCESS")
    private String supProcess;




    private static final long serialVersionUID = 1L;
}
